package framework.types;

class TRect<T> {

	public var left:T;
	public var top:T;
	public var right:T;
	public var bottom:T;

	public function new(l:T, t:T, r:T, b:T) {
		this.left = l;
		this.top = t;
		this.right = r;
		this.bottom = b;
	}

}

typedef FloatRect = TRect<Float>;
typedef IntRect = TRect<Int>;
